// import My from "./pages/My" //我的页面
// import Appcss from "./App.module.css"
// import Carouseler from "./Carousel"
import React from 'react';
import Home from "./Home"
import My from "./pages/My/index"
import Playlist from "./pages/My/playlist"
import {BrowserRouter as Router,Route,Switch} from "react-router-dom"
function App() {
  return (
    <div className="App">
      <Router>
        <Switch>
          {/* <Home></Home> */}
          <Route path="/My" component={My}></Route>
          <Route path="/playlist" component={Playlist}></Route>
          <Route path="/" component={Home}></Route>
      </Switch>
      </Router>
    </div>
  );
}

export default App;
